#pragma once

#include "cstTime.h"

// CTimeEdit

class CTimeEdit : public CEdit
{
	DECLARE_DYNAMIC(CTimeEdit)

public:
	CTimeEdit();
	~CTimeEdit() override;
	void SetTime(const cst_Time &t, intptr_t ms);
	bool GetTime(cst_Time &t, intptr_t &ms);

protected:
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
	LRESULT DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam) override;
};


